package blog.service.impl;

import blog.entity.User;
import blog.entity.VideoType;
import blog.mapper.UserMapper;
import blog.mapper.VideoTypeMapper;
import blog.service.UserService;
import blog.service.VideoTypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

@Service
public class VideoTypeServiceImpl extends ServiceImpl<VideoTypeMapper, VideoType> implements VideoTypeService {


    @Override
    public String getTypeNameById(Integer typeId) {
        VideoType videoType = this.getById(typeId);
        return videoType.getTypeName();
    }
}